package com.agrimall.entity;

import lombok.Data;
import java.util.Date;

/**
 * 商品评价实体类
 */
@Data
public class Review {
    private Long reviewId;
    private Long orderId;
    private Long productId;
    private Long userId;
    private Integer rating; // 1-5星
    private String content;
    private String images; // 多个URL用逗号分隔
    private Date createTime;
    
    // 关联数据
    private User user;
    private Product product;
}



